# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(TestIOpenHarmony_wrapper)

set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)


include_directories(${NATIVERENDER_ROOT_PATH}
                    ${NATIVERENDER_ROOT_PATH}/thirdparty
                    ${NATIVERENDER_ROOT_PATH}/thirdparty/opencl
                    ${NATIVERENDER_ROOT_PATH}/thirdparty/opencl/CL
                    )

add_library(entry SHARED hello.cpp
                         program_cl.cpp
                         program_wrapper.cpp
)


target_link_libraries(entry PUBLIC libace_napi.z.so)
target_link_libraries(entry PUBLIC libhilog_ndk.z.so)
target_link_libraries(entry PUBLIC opencl_wrapper)